<template>
  <div class="Home">
    <Map @mapSelectName="mapSelectName"></Map>
  </div>
</template>
<script>
import Map from "@/components/Map.vue";
export default {
  name: "Home",
  components: {
    Map,
  },
  data() {
    return {};
  },
  mounted() {},
  methods: {
    // 获取地图选中的城市数据
    mapSelectName(data) {
      console.log(data);
    },
  },
};
</script>
<style lang="scss" scoped>
.Home {
}
</style>
